-- GENERATED SPELL FOR [Infected Grizzly Bear] --


function spell0_26706(pUnit, Event) --@Infected Bite,n/a--
pUnit:FullCastSpellOnTarget(49861,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26706', 8000, 1)
end

function Sorts_26706(pUnit, Event)
local choix_sorts_26706 = math.random(0, 0)
if choix_sorts_26706 == 0 then
pUnit:RegisterEvent('spell0_26706', 1, 1)
end
end

function mob26706_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26706', math.random(1500, 3000), 1)
end

function mob26706_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26706_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26706_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26706, 1, 'mob26706_Action')
RegisterUnitEvent(26706, 2, 'mob26706_Leave')
RegisterUnitEvent(26706, 3, 'mob26706_Kill')
RegisterUnitEvent(26706, 4, 'mob26706_Die')
